<?php
if ($this->session->userdata('logged_in') == TRUE) {
    $this->load->view('view_login_success');
}
?>
<style type="text/css">
    .textRight {
        float: right;
    }
</style>
<?php $this->load->view('view_pageheader'); ?>
<label class="content_linkBack"><a onClick='window.history.go(-1)'>< Back</a></label>
<label class="content_this">| REGISTER</label>
<?php echo form_open('con_users/registers'); ?>
<table border="0" style="margin: auto;">
    <tr>
        <td><label class="textRight">NAME :</label></td>
        <td><input type="text" name="myname" size="20" />*</td>
    </tr>
    <tr>
        <td><label class="textRight">SURNAME :</label></td>
        <td><input type="text" name="mysurname" size="20" />*</td>
    </tr>
    <tr>
        <td><label class="textRight">USERNAME :</label></td>
        <td><input type="text" name="username" size="20" />*</td>
    </tr>
    <tr>
        <td><label class="textRight">PASSWORD :</label></td>
        <td><input type="text" name="password" size="20" />*</td>
    </tr>
    <tr>
        <td><label class="textRight">EMAIL :</label></td>
        <td><input type="text" name="email" size="20" />*</td>
    </tr>
    <tr>
        <td colspan="2" style="text-align: center;">
            <input type="submit" value="Submit" />&nbsp;<input type="reset" value="Cancel" />
        </td>
    </tr>
</table>
<?php echo form_close(); ?>
<?php $this->load->view('view_pagefooter'); ?>